package com.ruoyi.asset.mapper;

import java.util.List;
import com.ruoyi.asset.domain.PropertyVehicle;

/**
 * 车辆登记Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public interface PropertyVehicleMapper 
{
    /**
     * 查询车辆登记
     * 
     * @param vehicleId 车辆登记主键
     * @return 车辆登记
     */
    public PropertyVehicle selectPropertyVehicleByVehicleId(Long vehicleId);

    /**
     * 查询车辆登记列表
     * 
     * @param propertyVehicle 车辆登记
     * @return 车辆登记集合
     */
    public List<PropertyVehicle> selectPropertyVehicleList(PropertyVehicle propertyVehicle);

    /**
     * 新增车辆登记
     * 
     * @param propertyVehicle 车辆登记
     * @return 结果
     */
    public int insertPropertyVehicle(PropertyVehicle propertyVehicle);

    /**
     * 修改车辆登记
     * 
     * @param propertyVehicle 车辆登记
     * @return 结果
     */
    public int updatePropertyVehicle(PropertyVehicle propertyVehicle);

    /**
     * 删除车辆登记
     * 
     * @param vehicleId 车辆登记主键
     * @return 结果
     */
    public int deletePropertyVehicleByVehicleId(Long vehicleId);

    /**
     * 批量删除车辆登记
     * 
     * @param vehicleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePropertyVehicleByVehicleIds(Long[] vehicleIds);
}
